const mongoose = require("mongoose")
// 供应商详细
const SupplierSchema = new mongoose.Schema({
    name: String,//供货商名称
    address: String,//供货商地址    
    mobile: String,//手机号码)
    web: String,//网站
    B_licenseImg: String,//营业执照
    remark:String//供货商备注
}, {
    
        versionKey: false,
        timestamps: {
            createdAt: 'createTime',
            updatedAt: 'updateTime'
        } //自动管理修改时间
    })

module.exports = mongoose.model("Supplier", SupplierSchema);